import { ref } from "vue";

export default function () {
  let numb = ref(1);
  let fav = ref(false);
  let favBtn = () => {
    numb.value += 1;
    fav.value = true;
    setTimeout(() => {
      fav.value = false;
    }, 2000);
  };

  return {
    numb,
    fav,
    favBtn,
  };
}
